package factory.fromKanYun.MultiFactory;

import factory.fromKanYun.EmailSender;
import factory.fromKanYun.Sender;
import factory.fromKanYun.SmsSender;

/**
 * 多个工厂方法
 */
public class SendFactory {

    public Sender produceEmail(){
        return new EmailSender();
    }

    public Sender produceSms(){
        return new SmsSender();
    }
}
